class A
    def f
    end
end

class B < A
end

class C < B
    def g
    end
end
